//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.anji.plus.gaea.curd.dto;

import com.anji.plus.gaea.annotation.Formatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class GaeaBaseDTO implements BaseDTO {
    private String id;
    @Formatter(
            key = "gaea:user:nickname:${tenantCode}",
            replace = {"tenantCode"},
            targetField = "createByView"
    )
    private String createBy;
    private String createByView;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date createTime;
    @Formatter(
            key = "gaea:user:nickname:${tenantCode}",
            replace = {"tenantCode"},
            targetField = "updateByView"
    )
    private String updateBy;
    private String updateByView;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date updateTime;
    private Integer version;

}
